@each $breakpoint, $length in $spacings {
    $infix: "0";
    @if ($breakpoint != 0) {
        $infix: breakpoint-infix($breakpoint, $spacings);
    }
    @each $prop, $abbrev in (margin: m, padding: p) {
        .#{$abbrev}#{$infix}  { #{$prop}:        $length !important; }
        .#{$abbrev}t#{$infix} { #{$prop}-top:    $length !important; }
        .#{$abbrev}r#{$infix} { #{$prop}-right:  $length !important; }
        .#{$abbrev}b#{$infix} { #{$prop}-bottom: $length !important; }
        .#{$abbrev}l#{$infix} { #{$prop}-left:   $length !important; }
        .#{$abbrev}x#{$infix} {
            #{$prop}-right: $length !important;
            #{$prop}-left:  $length !important;
        }
        .#{$abbrev}y#{$infix} {
            #{$prop}-top:    $length !important;
            #{$prop}-bottom: $length !important;
        }
    }
}
